package jmlee.basic;

import java.util.Scanner;

public class GuGuDan {

	public static void main(String[] args) {
		
		int i,j;
		 
		Scanner sc = new Scanner(System.in);
		System.out.print("1-9사이를 입력 :");
		i = sc.nextInt();
		
		if(i>=1 && i<=9){
			for( j=1 ; j<10 ;j++){
				System.out.println(i + " * " + j + " = " + (i*j));
			}
		}else{
			System.out.println("잘못 입력하셨습니다.");
		}
	}

}
